summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-09-22 11:51:22 +0200
committerLukas Pioch <lukas@zgow.de>2016-10-21 11:17:39 +0200
commitb088123d1818b9b3585032906036778128c76bfc (patch)
treee73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /Server
parentStyleCheck: Add "else has to be on a separate line" (#3412) (diff)
downloadcuberite-b088123d1818b9b3585032906036778128c76bfc.tar
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.gz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.bz2
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.lz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.xz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.zst
cuberite-b088123d1818b9b3585032906036778128c76bfc.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 15960f6d3..4d8499687 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -11698,6 +11698,22 @@ a_Player:OpenWindow(Window);
},
Notes = "Sends the specified message to the player.",
},
+ SendMessageRaw =
+ {
+ Params =
+ {
+ {
+ Name = "Json",
+ Type = "string",
+ },
+ {
+ Name = "eChatType",
+ Type = "number",
+ IsOptional = true,
+ }
+ },
+ Notes = "Sends the specified json string to the player. The optional value eChatType (default ctChatBox) can be ctChatBox, ctSystem or ctAboveActionBar. You can use {{cJson}} to build a json string.",
+ },
SendMessageFailure =
{
Params =